/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: DealPriceBean.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.sdk.quote.bean;

import java.io.Serializable;
import java.util.ArrayList;

import io.bhex.baselib.network.response.BaseResponse;



public class DealPriceBean extends BaseResponse {

    private ArrayList<DealItem> array;

    public ArrayList<DealItem> getArray() {
        return array;
    }

    public void setArray(ArrayList<DealItem> array) {
        this.array = array;
    }

    public class DealItem implements Serializable{
        /**
         * t : 1528631035415
         * p : 9500.0000
         * q : 3800.000
         * m : true
         */

        //时间
        private long t;
        //价格
        private String p;
        //成交量
        private String q;

        //true is buy, flase is sell
        private boolean m;

        public long getT() {
            return t;
        }

        public void setT(long t) {
            this.t = t;
        }

        public String getP() {
            return p;
        }

        public void setP(String p) {
            this.p = p;
        }

        public String getQ() {
            return q;
        }

        public void setQ(String q) {
            this.q = q;
        }

        public boolean isM() {
            return m;
        }

        public void setM(boolean m) {
            this.m = m;
        }
    }
}
